<%-- 
    Document   : CadastroEspecializacao
    Created on : May 29, 2011, 12:30:33 AM
    Author     : diogo
--%>

<%@page import="BancoDados.Cliente"%>
<%@include file="baseImports.jsp"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
	"http://www.w3.org/TR/html4/loose.dtd">

<html>
	<%@include file="header.html"%>

	<%@include file="consultas/dadosUsuario.jsp"%>
	<tr> 
		
		<td width="100%">
			<table width="850"  border="0" cellspacing="0" cellpadding="0">
				<tr>
					<%@include file="staticHtml/MenuEsquerdo.jsp"%>
					<td   style="background-color:#edfaff;">
						<table width="548"  border="0" cellspacing="0" >
							<tr>
								<td width="100%" style="padding:30px" align="left">
									<br>
									<table  border="0" cellspacing="0" width="100%">
										<tr>
											<td valign="top" >
											<%
											Cliente c = (Cliente) session.getAttribute("cliente");
											int CodigoCliente = -1;
											if (c != null ){
												CodigoCliente = c.getCodCliente();
											}

											if (CodigoCliente != -1){
											%>
												<div align="justify">
													<p><strong class="title2">Ag&ecirc;ncia G&oacute;is & G&oacute;is</strong><br>

														<input type="hidden" id="filtro_tipo_area" name="filtro_tipo_area" value="combo"/>
														<%@include file="WEB-INF/consultas/ConsultaArea.jsp"%>
                                                        <br/>
														<script type="text/javascript">
															function onChangeAreaCodArea(){
																consultarProfissao();
															}
														</script>

														<input type="hidden" id="filtro_tipo_profissao" name="filtro_tipo_profissao" value="combo"/>
														<%@include file="WEB-INF/consultas/ConsultaProfissao.jsp"%>
                                                    <fieldset>
														<!--
                                                        <form name="frm" action="UtilityServlet" onsubmit="return true"
                                                              method="get" onreset="">
															-->
                                                        <form name="frm" action="ServletSolicitacoes" onsubmit="return true"
                                                              method="post">


                                                            <input type="hidden" name="tipo" value="inserir">

															<br/>
															
                                                            <input type="hidden" name="ClienteCodCliente" size="45" maxlength="10" value="<%=CodigoCliente%>">
															<br/>
															
                                                            Selecione a &Aacute;rea da Profiss&atilde;o:

															<div id="output_area">
																<img src="<%=Sistema.Defs.LOADER_GIF%>" />
															</div>

															<br/>
                                                            Selecione a nova Profiss&atilde;o:

															<div id="output_profissao">
																<img src="<%=Sistema.Defs.LOADER_GIF%>" />
															</div>
															<br/>

															
															Quantidade de profissionais desejada: <span class="sugestao">(maior que 0)</span><br/>
                                                            <input type="text" name="Qtde" size="45" maxlength="1" value="3">
															<br/>
															
                                                            <input Value="Cadastrar" class="buttonOK" type="submit" >
                                                            <input name="btnLimpar" class="buttonOK" type="reset" value="Limpar">

                                                        </form>
                                                    </fieldset>
												</div>
												<%} else {%>
												<%@include file="staticHtml/mensagens/erro_apenasCliente.html" %>
												<%}%>
									</table>
								</td>
							</tr>
						</table>
						<br>
						<br>
						<br>
						<p>&nbsp;</p></td>
				</tr>
			</table>


		</td>
	</tr>
	<%@include file="staticHtml/footer.html" %>

